package com.usian.api.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;

public interface AdchannelControllerApi {

    public ResponseResult findByNameAndPage(ChannelDto channelDto);



    /**
     * 新增
     * @param channel
     * @return
     */
    public ResponseResult save(AdChannel channel);

     /**
     * 修改
     * @param adChannel
     * @return
     */
    public ResponseResult update(AdChannel adChannel);



    /**
     * 删除
     * @param id
     * @return
     */
    public ResponseResult deleteById(Integer id);

}
